import { Component, OnInit } from '@angular/core';
import {QuestionType} from './shared/model/question.model';

@Component({
  selector: 'app-edit',
  templateUrl: './edit.component.html',
  styleUrls: ['./edit.component.scss']
})
export class EditComponent implements OnInit {

  constructor() { }

  ngOnInit() {
  }

  onAddQuestion(type: QuestionType) {
    console.log(type);
    // TODO ： 添加问题到问卷的问题列表
  }

}
